package com.yonyou.isv.demo.openapi.base.module.isv.event;


import com.yonyou.isv.demo.openapi.base.module.isv.event.pojo.ISVEvent;
import com.yonyou.isv.demo.openapi.base.network.cryptor.EncryptionHolder;

import java.util.List;

/**
 * 本类主要用于
 *
 * @author liuhaoi
 * @since Created At 2020/5/25 11:07 上午
 */
public interface ISVReceivedEventDispatcher {

    @SuppressWarnings("rawtypes")
    List<ISVEventListener> findEventListens();

    void dispatch(ISVEvent event, String source, EncryptionHolder holder);

}
